
public class DoWhileDemo {

	public static void main(String[] args) {
		String[] names = {"Stuti", "Samkit", "Smit"};
		
		int counter =0;
		
		do
		{
			System.out.println("Name = "+names[counter]);
			counter++;
		}		
		while(counter<names.length);
			
	}

}
